package com.lc.pda.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zww
 * @since 2023-07-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wms_material")
@ApiModel(value="WmsMaterial对象", description="")
public class WmsMaterial implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "materiaIId", type = IdType.AUTO)
    private String materiaIId;

    @TableField("materialName")
    private String materialName;

    @TableField("materialCode")
    private String materialCode;

    @TableField("materialTypeId")
    private Integer materialTypeId;

    @TableField("materialSpec")
    private String materialSpec;

    @TableField("customerId")
    private Integer customerId;

    @TableField("deptId")
    private Integer deptId;

    @TableField("deptName")
    private String deptName;

    @TableField("unitCode")
    private String unitCode;

    @TableField("safeQty")
    private Integer safeQty;

    @TableField("isLot")
    private Integer isLot;

    @TableField("isExpired")
    private Integer isExpired;

    private Integer period;

    @TableField("isMix")
    private Integer isMix;

    @TableField("baseUnit")
    private Integer baseUnit;

    @TableField("netWeight")
    private BigDecimal netWeight;

    @TableField("picUrl")
    private String picUrl;

    @TableField("grossWeight")
    private BigDecimal grossWeight;

    @ApiModelProperty(value = "是否可用")
    @TableField("enabelMark")
    private Integer enabelMark;

    @ApiModelProperty(value = "是否删除")
    @TableField("deleteMark")
    private Integer deleteMark;

    @TableField("createBy")
    private String createBy;

    @TableField("createTime")
    private LocalDateTime createTime;

    @TableField("updateTime")
    private LocalDateTime updateTime;

    @TableField("updateBy")
    private String updateBy;

    private String remark;


}
